﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraTreeList.Nodes;

namespace RequserDirectoryModifyName
{
    public partial class RequserDirectoryModifyName : UserControl
    {

        /// <summary>
        /// 请求事件
        /// </summary>
        public event Event.EventGlobal.DeNodeModifyName EvNodeModifyName;

        public RequserDirectoryModifyName()
        {
            InitializeComponent();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            if (EvNodeModifyName != null) {
                EvNodeModifyName(this.textEdit1.Text);
            }
            this.ParentForm.Close();
        }
    }
}
